<%@ page language="java"  pageEncoding="utf-8"%>
<%@ taglib prefix="s" uri="/struts-tags" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Insert title here</title>
</head>
<body>
<jsp:include page="../include.jsp"></jsp:include>
<table cellpadding=0 cellspacing=0 width=100% border=0>
<tr>
	<th colspan=100>用户/角色管理&nbsp;</th>
</tr>
	<s:iterator  value="#request.userList" id="usr" status="usrlist">
	<tr>
		<th>
		<s:property value="#usr.username" />&nbsp;
		</th>
		<s:iterator  value="#request.roleList" id="role" status="rolelist">
				<td>
				<input type="checkbox" name="usrRole" id="chk_<s:property value="#role.roleId" />" value="<s:property value="#role.roleId" />"/>
				<s:property value="#role.roleName" />&nbsp;
				</td>
	    </s:iterator>
	</tr>
	</s:iterator>
	<tr>
	<th colspan=100 align="right">&nbsp;<input type="button" name="" value="保存"/></th>
</tr>
	</table>
</body>
</html>